Skip to content

bytemare/ksf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptographic Key Stretching Functions

ksf Go Reference codecov

  import "github.com/bytemare/ksf"

This package exposes a simple API to seamlessly use a variety of key stretching functions, also used as key derivation functions. It aims at minimum code adaptation in your code, and easy parameterization. It completely relies on built-ins, so there's no change in implementations.

Supported Key Stretching Functions (or Key Derivation Functions are):

  • Argon2 family
  • bcrypt
  • Scrypt
  • PBKDF2

What is ksf?

In cryptography, key stretching techniques are used to make a possibly weak key, typically a password or passphrase, more secure against a brute-force attack by increasing the resources (time and possibly space) it takes to test each possible key.

Wikipedia

Documentation Go Reference

You can find the documentation and usage examples in the package doc and the project wiki .

Versioning

SemVer is used for versioning. For the versions available, see the tags on the repository.

Contributing

Please read CONTRIBUTING.md for details on the code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.