Immutable container for the transport keys and metadata derived from a Noise handshake.
Builds a t/0 struct from a map or keyword list.
t/0
@type t() :: %ExWapp.Noise.HandshakeSecrets{ handshake_hash: binary(), handshake_salt: binary(), read_key: binary(), server_certificate: binary(), server_static: binary(), write_key: binary() }
@spec new(map() | keyword()) :: t()