[Botan-devel] Dubious MinGW error messages

Hans Mull hans72mull at aol.com
Fri Apr 25 11:42:54 EDT 2008


Jack Lloyd schrieb:
> Pipe pipe(get_cipher(/*args*/),
>           new Fork(
>                    new Base64_Encoder,
>                    new Chain(new MAC_Filter(/*args*/), new Base64_Encoder)
>   ));
>   
Thank you, that works fine in encryption, but how to decrypt the string?
How can I derive the salt SecureVector from the ciphertext input (maybe:
    new SecureVector<byte>(ciphertext.substr(0,8));
    string ct = ciphertext.substr(8, ciphertext.length();
)?
It would be kind if you gave me a example.

Best regards, Hans



More information about the botan-devel mailing list