Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bytemare/ksf
Cryptographic Key Stretching Functions in Go.
https://github.com/bytemare/ksf
argon2 argon2id bcrypt go key-derivation key-derivation-function key-stretching password-hash pbkdf2 scrypt
Last synced: about 2 months ago
JSON representation
Cryptographic Key Stretching Functions in Go.
- Host: GitHub
- URL: https://github.com/bytemare/ksf
- Owner: bytemare
- License: mit
- Created: 2022-07-26T17:53:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:09:59.000Z (2 months ago)
- Last Synced: 2024-10-29T18:38:37.938Z (2 months ago)
- Topics: argon2, argon2id, bcrypt, go, key-derivation, key-derivation-function, key-stretching, password-hash, pbkdf2, scrypt
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Cryptographic Key Stretching Functions
[![ksf](https://github.com/bytemare/ksf/actions/workflows/ci.yml/badge.svg)](https://github.com/bytemare/ksf/actions/workflows/ci.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/bytemare/ksf.svg)](https://pkg.go.dev/github.com/bytemare/ksf)
[![codecov](https://codecov.io/gh/bytemare/ksf/branch/main/graph/badge.svg?token=5bQfB0OctA)](https://codecov.io/gh/bytemare/ksf)```
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](https://en.wikipedia.org/wiki/Key_stretching)## Documentation [![Go Reference](https://pkg.go.dev/badge/github.com/bytemare/ksf.svg)](https://pkg.go.dev/github.com/bytemare/ksf)
You can find the documentation and usage examples in [the package doc](https://pkg.go.dev/github.com/bytemare/ksf) and [the project wiki](https://github.com/bytemare/ksf/wiki) .
## Versioning
[SemVer](http://semver.org) is used for versioning. For the versions available, see the [tags on the repository](https://github.com/bytemare/ksf/tags).
## Contributing
Please read [CONTRIBUTING.md](.github/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](LICENSE) file for details.