Auto merge of #24719 - :patch-1, r=steveklabnik
This commit is contained in:
commit
f6d53af85f
1 changed files with 1 additions and 0 deletions
|
|
@ -482,6 +482,7 @@ pub struct Sha256 {
|
|||
|
||||
impl Sha256 {
|
||||
/// Construct a new instance of a SHA-256 digest.
|
||||
/// Do not – under any circumstances – use this where timing attacks might be possible!
|
||||
pub fn new() -> Sha256 {
|
||||
Sha256 {
|
||||
engine: Engine256::new(&H256)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue