use iota in crypto.xor
parent
a69f142534
commit
f050215cbd
|
|
@ -9,4 +9,4 @@ ERROR: empty-xor-key ;
|
|||
|
||||
: xor-crypt ( seq key -- seq' )
|
||||
[ empty-xor-key ] when-empty
|
||||
[ dup length ] dip '[ _ mod-nth bitxor ] 2map ;
|
||||
[ dup length iota ] dip '[ _ mod-nth bitxor ] 2map ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue