Struct cold_iron::crypt::ThaumCrypto[]

pub struct ThaumCrypto { /* fields omitted */ }
Expand description

ThaumCrypto is a wrapper struct, representing a SITA or other Thaumatic device ready to perform thaumocryptography

Implementations

Prepare a thaumatic device for cryptography

Attempt to encrypt a given message The destination is not specified in code, using instead the intent of the caster.

Attempt to encrypt a given message for a certain author. Standard disclaimers about true names apply for string-encoded recipients.

Attempt to decrypt an envelope. The author is not specified in code, using instead the intent of the caster.

Attempt to decrypt an envelope. Standard disclaimers about true names apply for string-encoded authors.

Verify the authenticity of a signed, unencrypted message. The author is not specified in code, using instead the intent of the caster.

Verify the authenticity of a signed, unencrypted message. Standard disclaimers about true names apply for string-encoded authors.

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.

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.