aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/crypto/md5/md5_test.v
blob: fd43c1c71fde9c9775be6a539b2925e8cc5e76d7 (plain)
1
2
3
4
5
6
7
8
// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
import crypto.md5

fn test_crypto_md5() {
	assert md5.sum('this is a md5 checksum.'.bytes()).hex() == '6fb421ff99036547655984da12973431'
}