pin: concatenation order changed.
This commit is contained in:
parent
1211969dfc
commit
15f9e4db8c
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ GetPin(s []rune, l int, i int) string {
|
|||
ret := ""
|
||||
slen := len(s)
|
||||
for j:=0 ; j<l ; j++ {
|
||||
ret += string(s[ ( i/Pow(slen, j) ) % slen] )
|
||||
ret = string(s[ ( i/Pow(slen, j) ) % slen] ) + ret
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue