Sha256: 5df514466151f65b495eaf6369ce0f4333a91d2fcd25ceae496a62d16a8623c0
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
# encoding: binary # frozen_string_literal: true require "xstream/version" require "securerandom" require "hkdf" require "miscreant" require "x25519" require "xstream/x25519hkdf" # Public key encryption system combining X25519 Diffie-Hellman with the STREAM construction module XStream # STREAM nonce of all zeroes (since we always derive a unique key per STREAM) NONCE = "\0\0\0\0\0\0\0\0".freeze # Default XSTREAM encryptor type Encryptor = X25519HKDF::Encryptor end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xstream-0.1.0 | lib/xstream.rb |