We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a62242 commit 47f9a6bCopy full SHA for 47f9a6b
src/librustc_back/sha2.rs
@@ -482,6 +482,7 @@ pub struct Sha256 {
482
483
impl Sha256 {
484
/// Construct a new instance of a SHA-256 digest.
485
+ /// Do not – under any circumstances – use this where timing attacks might be possible!
486
pub fn new() -> Sha256 {
487
Sha256 {
488
engine: Engine256::new(&H256)
0 commit comments