Skip to content

Commit

Permalink
Update yespower.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mraksoll4 committed Apr 25, 2023
1 parent 1889111 commit 822840f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yespower.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,12 @@ func newPwxformCtx(version string) (ctx *PwxformCtx) {
}

func Yespower(in []byte, N, r int, persToken string) string {
fmt.Printf("Input inside Yespower: %x\n", input)
return yespower(YESPOWER_1_0, in, N, r, persToken)
}

func Yescrypt(in []byte, N, r int, persToken string) string {
fmt.Printf("Input inside Yescrypt: %x\n", input)
return yespower(YESPOWER_0_5, in, N, r, persToken)
}

Expand Down Expand Up @@ -517,6 +519,7 @@ func salsaXOR(in, out []uint32, rounds int) {
}

func YespowerHash(input []byte) []byte {
fmt.Printf("Input inside YespowerHash: %x\n", input)
timeBytes := input[68:72]
time := binary.LittleEndian.Uint32(timeBytes)

Expand Down

0 comments on commit 822840f

Please sign in to comment.