Skip to content

calebh/differentiablesha256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Differentiable SHA256

A fully differentiable implementation of SHA256. Unfortunately suffers from gradient vanishing.

Update: an alternative implementation without the gradient vanishing issue was implemented (see adder branch). The gradients are no longer zero, however the surface of the output hash is rife with local minima, likely because of the avalanche effect. It appears that SHA256 is secure from gradient descent pre-image attacks.

Dependencies

  • PyTorch

About

A fully differentiable implementation of SHA256

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages