Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvz committed Apr 22, 2021
1 parent e20236e commit ab584a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JCryptoBox

JCryptoBox is a simple cryptography facade inspired by NaCl and libsodium.
The central concept exposed is the idea of boxing and opening boxed data.
JCryptoBox is a simple cryptography facade inspired by NaCl and libsodium that uses slightly more conservative cryptography standards (NIST FIPS 140).
The central APIs are `Box` for public key cryptography and `SecretBox` for secret key cryptography.

## Usage

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/dev/o1c/jcryptobox/NistCurve.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
import java.security.spec.KeySpec;
import java.util.Arrays;

// based on:
// https://github.com/google/tink/blob/e767489e11f66d162637f73dbe75eee6e44a3208/java_src/src/main/java/com/google/crypto/tink/subtle/EllipticCurves.java
enum NistCurve {
P256("115792089210356248762697446949407573530086143415290314195533631308867097853951",
"115792089210356248762697446949407573529996955224135760342422259061068512044369",
Expand Down

0 comments on commit ab584a8

Please sign in to comment.