Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cryptography ciphers/algorithms #499

Closed
12 tasks done
yorickpeterse opened this issue Mar 15, 2023 · 1 comment
Closed
12 tasks done

Add cryptography ciphers/algorithms #499

yorickpeterse opened this issue Mar 15, 2023 · 1 comment
Labels
accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers feature New things to add to Inko, such as a new standard library module std Changes related to the standard library

Comments

@yorickpeterse
Copy link
Collaborator

yorickpeterse commented Mar 15, 2023

Original GitLab issue: https://gitlab.com/inko-lang/inko/-/issues/283


Inko's standard library should provide support for commonly used cryptographic ciphers/algorithms, such as MD5, SHA1, etc, and whatever ciphers we need for TLS/SSL support (see https://gitlab.com/inko-lang/inko/-/issues/262).

Specifically I'm thinking of at least the following ones:

  • MD5 (even though it's broken it's still in use)
  • SHA1, SHA2, not sure if SHA3 is widely used
  • Blake2, because you should basically use this instead of SHA/MD5 whenever possible
  • ChaCha20 (TLS requires this I believe)
  • Whatever else we need for TLS 1.x

All of this should be implemented in pure Inko, as I don't want to add dozens of additional built-in functions, Rust wrapper types, etc.

TODO

Not all of these need to be implemented at once/right now. For example, X509 and secp256k1 support is something we should wait with until we're ready to start working on a TLS stack. Given my limited knowledge of cryptography we'd also need to get other people involved, as I'll inevitably implement something incorrectly.

@yorickpeterse yorickpeterse added accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers feature New things to add to Inko, such as a new standard library module std Changes related to the standard library labels Mar 15, 2023
This was referenced Jun 6, 2023
@yorickpeterse
Copy link
Collaborator Author

Closing this in favour of the various individual issues I just created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers feature New things to add to Inko, such as a new standard library module std Changes related to the standard library
Projects
None yet
Development

No branches or pull requests

1 participant