CryptoBox.decrypt

Decrypt a message encrypted with CryptoBox::encrypt

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

Parameters

input string

the input data

passphrase string

the passphrase used to encrypt the message

Meta