Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File doc/godi-cryptokit/html/Cryptokit.Stream.stream_cipher.html GODI Package godi-cryptokit
 
   Cryptokit.Stream.stream_cipher.html    Sources  

Class type Cryptokit.Stream.stream_cipher


class type stream_cipher = object .. end
Abstract interface for a stream cipher.

method transform : string -> int -> string -> int -> int -> unit
transform src spos dst dpos len encrypts or decrypts len characters, read from string src starting at position spos. The resulting len characters are stored in string dst starting at position dpos.
method wipe : unit
Erase the internal state of the stream cipher, such as all key-dependent material.
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml