all: unwrap const() blocks

This commit is contained in:
Alexander Medvednikov 2023-11-25 10:02:51 +03:00
parent 399af6768d
commit f09826e928
436 changed files with 10448 additions and 11207 deletions

View file

@ -10,19 +10,15 @@ module md5
import encoding.binary
pub const (
// The size of an MD5 checksum in bytes.
size = 16
// The blocksize of MD5 in bytes.
block_size = 64
)
// The size of an MD5 checksum in bytes.
pub const size = 16
// The blocksize of MD5 in bytes.
pub const block_size = 64
const (
init0 = 0x67452301
init1 = u32(0xEFCDAB89)
init2 = u32(0x98BADCFE)
init3 = 0x10325476
)
const init0 = 0x67452301
const init1 = u32(0xEFCDAB89)
const init2 = u32(0x98BADCFE)
const init3 = 0x10325476
// Digest represents the partial evaluation of a checksum.
struct Digest {