Skip to content

Commit

Permalink
v0.1.1 RC
Browse files Browse the repository at this point in the history
  • Loading branch information
eschorn1 committed Mar 8, 2024
1 parent 744242c commit 99c81a5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## 0.1.1 (2024-03-08)

- Extensive internal refinement
- Rework of expanded keys (in place of precomputes)
- Benchmarking, constant time checks, embedded sample, fuzz testing, wasm example


## 0.1.0 (2024-01-01)

- Initial release
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ The Rust [Documentation][docs-link] lives under each **Module** corresponding to
it will be done with a minor version bump.
* All on-by-default features of this library are covered by SemVer.
* This software is experimental and still under active development -- USE AT YOUR OWN RISK!
* Code repository contains extensive examples related to benchmarking, fuzzing, CT checks, embedded HW, and WASM use.

## License

Expand Down
7 changes: 4 additions & 3 deletions wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "wasm"
version = "0.1.0"
authors = ["eschorn1 <[email protected]>"]
edition = "2018"
version = "0.1.1"
authors = ["Eric Schorn <[email protected]>"]
description = "Sample web page utilizing FIPS 204 code"
repository = ""
license = "MIT OR Apache-2.0"
publish = false
edition = "2021"


[lib]
Expand Down
2 changes: 1 addition & 1 deletion wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn sign(message: &str) -> String {
let sig_hex = hex::encode(&sig);
let pk_hex = hex::encode(&pk.into_bytes());

let s0 = format!("The message to sign is: {} len {}\n", message, message.len());
let s0 = format!("The message to sign is: {}\n", message);
let s1 = format!("The seed used to generate the keys is: {}\n\n", seed);
let s2 = format!("The generated public||private key is: {}\n", sk_hex);
let s3 = format!("Using that private key, the calculated signature is: {}\n\n", sig_hex);
Expand Down
2 changes: 1 addition & 1 deletion wasm/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>FIPS 204 WASM Demo</h1>
its results can be compared to <a href="https://github.com/integritychain/fips204/blob/main/tests/messages.rs">
native test cases.</a> Please see section 3.5.1 of the
<a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.ipd.pdf">FIPS 204 standard</a> for critical
requirements on randomness when utlizing FIPS 204 in production.
requirements on randomness when utilizing FIPS 204 in production.
</p>

<p>Enter a message to sign below and click on 'Submit'. Keys will be generated, the message signed, and results
Expand Down

0 comments on commit 99c81a5

Please sign in to comment.