SHA-256 and VMAC Analysis

Last update: 25 May 2017

Analysis of SHA-256 and KF VMAC (Ken Fischer Variable Round Message Authentication Code).

sha.tar.gz - download

src/ - browse files

main files:

sha.py - SHA-256 constants, functions, processing one block, and testing. Also includes KF VMAC function for one block.

test.py, test.out - tests using bitstats() from sha.py

REVERSE - running one-block SHA-256 in reverse

VMAC.py - analysis of VMAC key bit usage

VMAC-ROTR.py - analysis of VMAC key ROTR operations

VMAC-DATA.py - analysis of SHA-256 data and key bit propagation

Crack16.py - crack one-block VMAC with N=16 rounds using arbitrary input data

Crack17.txt - analysis with N=17 rounds; failed to crack it