Docs.rs
  • stream-cipher-0.7.0
    • stream-cipher 0.7.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • newpavlov
    • github:rustcrypto:traits
    • Dependencies
      • blobby ^0.3 normal
      • block-cipher ^0.8 normal
      • generic-array ^0.14 normal
    • Versions
    • 100% of the crate is documented
  • This release has been yanked, go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Crate stream_cipher

Version 0.7.0

See all stream_cipher's items

  • Re-exports
  • Modules
  • Macros
  • Structs
  • Traits
  • Type Definitions

Crates

  • stream_cipher
? Change settings

[−][src]Crate stream_cipher

[−] Expand description

This crate defines a set of traits which define functionality of stream ciphers.

See RustCrypto/stream-ciphers for ciphers implementation.

Re-exports

pub use generic_array;
pub use block_cipher;
pub use blobby;

Modules

consts

Type aliases for many constants.

Macros

bench_asyncfeature="dev"

Create synchronous stream cipher benchmarks

bench_syncfeature="dev"

Create synchronous stream cipher benchmarks

new_async_testfeature="dev"

Test core functionality of asynchronous stream cipher

new_seek_testfeature="dev"

Test stream synchronous stream cipher seeking capabilities

new_sync_testfeature="dev"

Test core functionality of synchronous stream cipher

Structs

InvalidKeyNonceLength

The error type returned when key and/or nonce used in stream cipher initialization had an invalid length.

LoopError

The error type returned when stream cipher has reached the end of a keystream.

OverflowError

The error type returned when a cipher position can not be represented by the requested type.

Traits

FromBlockCipherfeature="block-cipher"

Trait for initializing a stream cipher from a block cipher

NewStreamCipher

Stream cipher creation trait.

SeekNum

Trait implemented for numeric types which can be used with the SyncStreamCipherSeek trait.

StreamCipher

Stream cipher core trait which covers both synchronous and asynchronous ciphers.

SyncStreamCipher

Synchronous stream cipher core trait.

SyncStreamCipherSeek

Trait for seekable stream ciphers.

Type Definitions

Key

Key for an algorithm that implements NewStreamCipher.

Nonce

Nonce for an algorithm that implements NewStreamCipher.

Results for SyncStreamCipherSeek

In Names
(1)
In Parameters
(0)
In Return Types
(0)
stream_cipher::SyncStreamCipherSeekTrait for seekable stream ciphers. 
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.

Keyboard Shortcuts

?
Show this help dialog
S
Focus the search field
↑
Move up in search results
↓
Move down in search results
↹
Switch tab
⏎
Go to active search result
+
Expand all sections
-
Collapse all sections

Search Tricks

Prefix searches with a type followed by a colon (e.g., fn:) to restrict the search to a given type.

Accepted types are: fn, mod, struct, enum, trait, type, macro, and const.

Search functions by type signature (e.g., vec -> usize or * -> vec)

Search multiple things at once by splitting your query with comma (e.g., str,u8 or String,struct:Vec,test)

You can look for items with an exact name by putting double quotes around your request: "string"

Look for items inside another one by searching for a path: vec::Vec