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.
2 parents af8a4a0 + 47f9a6b commit f6d53afCopy full SHA for f6d53af
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