Skip to content

Skein256/224 and Skein512/224 are invalid #681

Description

@fck-gthb
use skein::{consts::U28, Digest, Skein256, Skein512};
fn main() {
    println!("{:x}", Skein256::<U28>::digest(""));
    println!("{:x}", Skein512::<U28>::digest(""));

    // Output:
    // 0fadf1fa39e3837a95b3660b4184d9c2f3cfc94b55d8e7a000000000
    // 1541ae9fc3ebe24eb758ccb1fd60c2c31a9ebfe65b22008600000000
}

Note the trailing zeros.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions