package kuznechik

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. key : int array;
  2. ik : int array array;
}
val make : int array -> t

make key creates instance of Cipher.t using provided key

val encrypt_block : t -> int array -> int array

encrypt_block cipher block encrypts one block of 128-bit using provided cipher

val decrypt_block : t -> int array -> int array

decrypt_block cipher enc_block decrypts one encrypted block enc_block of 128-bit using provided cipher

OCaml

Innovation. Community. Security.