Module type Nocrypto.Cipher_stream.S

module type S = sig .. end
General stream cipher type.

type key 
type result = {
   message : Cstruct.t;
   key : key;
}
val of_secret : Cstruct.t -> key
val encrypt : key:key ->
Cstruct.t -> result
val decrypt : key:key ->
Cstruct.t -> result