Struct p25::voice::rand::PseudoRand [] [src]

pub struct PseudoRand { /* fields omitted */ }

Generates 23-bit and 15-bit scrambling words using the P25 PN sequence algorithm.

Methods

impl PseudoRand
[src]

[src]

Create a new PseudoRand generator using the given 12-bit seed.

[src]

Retrieve the next 23-bit scrambling word.

[src]

Retrieve the next 15-bit scrambling word.