mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
Update vlib/x/crypto/ascon/hash.v
This commit is contained in:
parent
acca80a96f
commit
73497e2bd5
1 changed files with 0 additions and 1 deletions
|
@ -118,7 +118,6 @@ fn (h &Hash256) clone() &Hash256 {
|
||||||
}
|
}
|
||||||
|
|
||||||
// sum returns an Ascon-Hash256 checksum of the bytes in data.
|
// sum returns an Ascon-Hash256 checksum of the bytes in data.
|
||||||
@[direct_array_access]
|
|
||||||
pub fn (mut h Hash256) sum(data []u8) []u8 {
|
pub fn (mut h Hash256) sum(data []u8) []u8 {
|
||||||
// working on the clone of the h, so we can keep writing
|
// working on the clone of the h, so we can keep writing
|
||||||
mut h0 := h.clone()
|
mut h0 := h.clone()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue