Add cryptography ciphers/algorithms #499
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
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:
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
ChaCha20-Poly1305: Implement ChaCha20-Poly1305 and XChaCha20-Poly1305 #574XChaCha20-Poly1305: Implement ChaCha20-Poly1305 and XChaCha20-Poly1305 #574BigInt with constant-time operations (so we don't have to implement this ad-hoc every time)scapped for now unless we really need itX509:Implement X.509 in Inko #572AES:Implement AES in Inko #573Not 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.
The text was updated successfully, but these errors were encountered: