crash.software
Projects
Pull Requests
Issues
Builds
DonPAPI
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
DonPAPI
Files
🤬
Sign In
v1.0.0
ROOT
/
lazagne
/
softwares
/
memory
/
libkeepass
/
pureSalsa20.py
Search
History
354 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
array
Struct
char_to_int
little_u64
little16_i32
little4_i32
little2_i32
long
xrange
Salsa20
(object)
_lastChunk64
_IVbitlen
ctx
iv
rounds
__init__
(self,key=None,iv=None,rounds=20)
set_key
(self,key)
set_iv
(self,iv)
set_nonce
set_counter
(self,counter)
get_counter
(self)
set_rounds
(self,rounds,testing=False)
encrypt_bytes
(self,data)
decrypt_bytes
salsa20_wordtobyte
(input,n_rounds=20,check_rounds=True)
XOR
(a,b)
trunc32
(w)
add32
(a,b)
rot32
(w,n_left)
All occurrences
Please wait...
Page is in error, reload to recover