Update Picocrypt.go

This commit is contained in:
Evan Su 2021-06-03 10:44:40 -04:00 committed by GitHub
parent 13b9ae3e30
commit 5ba899da0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -869,7 +869,7 @@ func work(){
_khash_hash = rsDecode(_khash_hash,rs32_128,32)
//fmt.Println("crcHash",crcHash)
_tmp := math.Ceil(float64(total-int64(metadataLength+1196))/float64(1048728))
_tmp := math.Ceil(float64(total-int64(metadataLength+1196))/float64(1048744))
nonces = make([]byte,int(_tmp*152)+144)
fin.Read(nonces)
//fmt.Println("Nonces: ",nonces)