Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
DES.ECBval of_secret : string -> keyConstruct the encryption key corresponding to secret.
val encrypt : key:key -> string -> stringencrypt ~key src encrypts src into a freshly allocated buffer of the same size using key.
val decrypt : key:key -> string -> stringdecrypt ~key src decrypts src into a freshly allocated buffer of the same size using key.
val encrypt_into :
key:key ->
string ->
src_off:int ->
bytes ->
dst_off:int ->
int ->
unitencrypt_into ~key src ~src_off dst dst_off len encrypts len octets from src starting at src_off into dst starting at dst_off.
val decrypt_into :
key:key ->
string ->
src_off:int ->
bytes ->
dst_off:int ->
int ->
unitdecrypt_into ~key src ~src_off dst dst_off len decrypts len octets from src starting at src_off into dst starting at dst_off.