CryptoBox.decrypt

Decrypt a message encrypted with CryptoBox::encrypt

  1. string decrypt(const(ubyte)* input, size_t input_len, string passphrase)
    struct CryptoBox
    static
    string
    decrypt
    (
    const(ubyte)* input
    ,
    size_t input_len
    ,
    in string passphrase
    )
  2. string decrypt(string input, string passphrase)

Parameters

input const(ubyte)*

the input data

input_len size_t

the length of input in bytes

passphrase string

the passphrase used to encrypt the message

Meta