Exemple #1
0
 public reader(sync.Mutex mu = default, long budget = default, cipher.Block cipher = default, io.Reader entropy = default, array <byte> time = default, array <byte> seed = default, array <byte> dst = default, array <byte> key = default)
 {
     this.mu      = mu;
     this.budget  = budget;
     this.cipher  = cipher;
     this.entropy = entropy;
     this.time    = time;
     this.seed    = seed;
     this.dst     = dst;
     this.key     = key;
 }
Exemple #2
0
 private static (cipher.Block, error) newCipher(slice <byte> key)
 {
     cipher.Block _p0 = default;
     error        _p0 = default !;
Exemple #3
0
 // NewCipher creates and returns a new cipher.Block.
 public static (cipher.Block, error) NewCipher(slice <byte> key)
 {
     cipher.Block _p0 = default;
     error        _p0 = default !;