bring back `Block::fixed_key`
@@ -100,13 +100,13 @@ impl Block {
}
/// Fixed key for AES hash. This is the same fixed key as used in the EMP toolkit.
- // #[inline]
- // pub fn fixed_key() -> Self {
- // Block::from([
- // 0x61, 0x7e, 0x8d, 0xa2, 0xa0, 0x51, 0x1e, 0x96, 0x5e, 0x41, 0xc2, 0x9b, 0x15, 0x3f,
- // 0xc7, 0x7a,
- // ])
- // }
+ #[inline]
+ pub fn fixed_key() -> Self {
+ Block::from([
+ 0x61, 0x7e, 0x8d, 0xa2, 0xa0, 0x51, 0x1e, 0x96, 0x5e, 0x41, 0xc2, 0x9b, 0x15, 0x3f,
+ 0xc7, 0x7a,
+ ])
+ }
/// Write a block to `stream`.
#[inline]
