bash-f
Apply the bash-f permutation from STB 34.101.77-2020.
from oxcrypto.hazmat.permutation.bash_f import BASH_F
state = BASH_F.BASH_F.permute(bytes(192))The state is 24 64-bit words, each little-endian, so the bytes match the standard's notation.
| Standard | STB 34.101.77-2020 (Belarusian national standard) |
| Crate | bash-f 0.1.0 (RustCrypto sponges), pre-1.0 release |
| Audit | No published audit |
| MSRV | 1.85, builds with the project MSRV 1.88 |
| Experimental | No |
| Test vectors | STB 34.101.77-2020 Table A.2 |