forked from skycoin/pyskycoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libpy][test] refs skycoin#68 modifying the text with the new syntax …
…59 passed in 45.16 seconds
- Loading branch information
Showing
24 changed files
with
509 additions
and
6,872 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
from .skyerror import * | ||
import cipher | ||
import base58 | ||
import secp256k1go | ||
import secp256k1go | ||
import encrypt | ||
import scrypt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from libpy import skycoin | ||
|
||
def Sha256XorEncrypt(data, cadena): | ||
return skycoin.SKY_encrypt_Sha256Xor_Encrypt(data, cadena) | ||
|
||
def Sha256XorDecrypt(p0, p1): | ||
return skycoin.SKY_encrypt_Sha256Xor_Decrypt(p0, p1) | ||
|
||
def ScryptChacha20poly1305(): | ||
return skycoin.encrypt__ScryptChacha20poly1305() | ||
|
||
def ScryptChacha20poly1305Encrypt(crypt, plaintext, passwd): | ||
return skycoin.SKY_encrypt_ScryptChacha20poly1305_Encrypt(crypt, plaintext, passwd) | ||
|
||
def ScryptChacha20poly1305Decrypt(crypt, encrypto, password): | ||
return skycoin.SKY_encrypt_ScryptChacha20poly1305_Decrypt(crypt, encrypto, password) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from libpy import skycoin | ||
|
||
def Key(p0, p1, p2, p3, p4, p5): | ||
return skycoin.SKY_scrypt_Key(p0, p1, p2, p3, p4, p5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.