Example #1
0
 public Serpent(byte[] key) : base(key)
 {
     _key  = new SerpentKey(key);
     _sBox = new SerpentSbox();
 }
Example #2
0
 public Serpent(ISerpentKey key, ISerpentSbox sBox) : base(key.RawBytes)
 {
     _key  = key;
     _sBox = sBox;
 }