[−][src]Module lsx::twofish
An implementation of the Twofish block cipher. Only the primitive
operation is supported; you will have to provide the rest (e.g. a
particular CTR or CBC scheme) yourself. Enabled by default, or if you
request the "sha256"
feature.
Structs
Twofish | The key-dependent data for a given Twofish key. This can be used to encrypt or decrypt blocks of data with that key. If you're inexperienced with crypto, you probably just thought of using this to encrypt/decrypt each block of your input directly, one block at a time. If so, I beg you to read Wikipedia's article on block cipher modes of operation so that you will understand that this is the least secure way to use a block cipher! |
Constants
BLOCKBYTES | The number of bytes in a Twofish block. |