logo
pub struct Hc256Core { /* private fields */ }
Expand description

The HC-256 stream cipher core

Trait Implementations

Write algorithm name into f.

Size of the block in bytes.

Return block size in bytes.

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Initialization vector size in bytes.

Return IV size in bytes.

Create new value from fixed length key and nonce.

Create new value from variable length key and nonce.

Key size in bytes.

Return key size in bytes.

Return number of remaining blocks before cipher wraps around. Read more

Process data using backend provided to the rank-2 closure.

Write keystream block. Read more

Write keystream blocks. Read more

Apply keystream block. Read more

Apply keystream blocks. Read more

Apply keystream blocks. Read more

Try to apply keystream to data not divided into blocks. Read more

Try to apply keystream to data not divided into blocks. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.