File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
cipher/src/algorithm/sha256 Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ pub struct Sha256 {
1515
1616impl Default for Sha256 {
1717 fn default ( ) -> Self {
18- println ! ( "Hash update: {:?}" , INITIAL_HASH ) ;
1918 Self {
2019 hash : INITIAL_HASH ,
2120 buffer : Buffer :: new ( ) ,
@@ -79,7 +78,6 @@ impl Sha256 {
7978 } else {
8079 // If the remainder is less than 56 bytes, we can pad the current block
8180 // and write the length at the end.
82- println ! ( "The total bytes written: {:?}" , bit_length_bytes) ;
8381 block[ 56 ..64 ] . copy_from_slice ( & bit_length_bytes) ;
8482 self . process_block ( & block_bytes_to_words ( & block) ) ;
8583 }
@@ -102,7 +100,6 @@ impl Sha256 {
102100
103101 fn process_block ( & mut self , block : & [ u32 ; 16 ] ) {
104102 compress_block ( block, & mut self . hash ) ;
105- println ! ( "Hash update: {:?}" , self . hash) ;
106103 }
107104}
108105
You can’t perform that action at this time.
0 commit comments