3 releases (1 stable)

Uses old Rust 2015

1.0.3 May 9, 2019
0.3.2 Mar 29, 2015
0.2.2 Mar 8, 2015

#1212 in Cryptography

Download history 695/week @ 2023-12-15 405/week @ 2023-12-22 482/week @ 2023-12-29 638/week @ 2024-01-05 601/week @ 2024-01-12 691/week @ 2024-01-19 650/week @ 2024-01-26 590/week @ 2024-02-02 684/week @ 2024-02-09 790/week @ 2024-02-16 731/week @ 2024-02-23 794/week @ 2024-03-01 608/week @ 2024-03-08 702/week @ 2024-03-15 823/week @ 2024-03-22 811/week @ 2024-03-29

3,143 downloads per month
Used in 5 crates

LGPL-3.0+

125KB
2.5K SLoC

rust-sha

Rust Secure Hash Algorithm (SHA) Intrinsics Library

Introduction

Intel claims that SHA-1 and SHA-256 instruction set extensions (collectively known as the SHA Extensions) are due to be included in Skylake sometime in 2015, and ARM has almost no documentation on the subject, so until more information is available, the hardware accelerated versions are disabled by default.

Conclusion

If by chance you are running this code on a newer ARM or x86 with these instructions available, and their specifications have not changed, then you will have to manually uncomment the "//pub mod x86;" in mod.rs yourself.

Good luck.

Dependencies