mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: unwrap const() blocks
This commit is contained in:
parent
399af6768d
commit
f09826e928
436 changed files with 10448 additions and 11207 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue