Skip to content

Commit

Permalink
no worthy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wildonion committed May 6, 2024
1 parent 4d7044a commit be44dd1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
36 changes: 18 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
"scrollbarSlider.activeBackground": "#288bb3",
"scrollbarSlider.background": "#19241b",
"scrollbarSlider.hoverBackground": "#288bb3",
"activityBar.activeBackground": "#90d79c",
"activityBar.background": "#90d79c",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#8272cc",
"activityBarBadge.foreground": "#15202b",
"commandCenter.border": "#15202b99",
"sash.hoverBorder": "#90d79c",
"statusBar.background": "#6aca7b",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#44bd5a",
"statusBarItem.remoteBackground": "#6aca7b",
"statusBarItem.remoteForeground": "#15202b",
"titleBar.activeBackground": "#6aca7b",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#6aca7b99",
"titleBar.inactiveForeground": "#15202b99"
"activityBar.activeBackground": "#693d55",
"activityBar.background": "#693d55",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#10140c",
"activityBarBadge.foreground": "#e7e7e7",
"commandCenter.border": "#e7e7e799",
"sash.hoverBorder": "#693d55",
"statusBar.background": "#492a3b",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#693d55",
"statusBarItem.remoteBackground": "#492a3b",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#492a3b",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#492a3b99",
"titleBar.inactiveForeground": "#e7e7e799"
},
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
],
"rust-analyzer.showUnlinkedFileNotification": false,
"rust-analyzer.checkOnSave": true,
"peacock.color": "#6aca7b"
"peacock.color": "#492a3b"
}
44 changes: 22 additions & 22 deletions crypter/src/cry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,22 @@ pub mod wannacry{

pub use super::*;

pub async fn secure_session(){
/* e2e and file and msg encryption using aes256 bits in wallexerr: see ed25519_aes256_test() test method
// use to secure the communication between client and server
// using zero knowledge proof
// ...
tools: RSA ed25519 ECC curve with aes256 hash in wallexerr, openssl and ring for RSA + KDF like sha256 and keccak256
ransomewere, steganography and files encryption to generate unique assets by encrypting using
aes256 cbc with pbkdf2 + sha384 + salt then showing key and iv like:
openssl aes-256-cbc -a -salt -pbkdf2 -in img.png -out img.png.enc -p
openssl aes-256-cbc -d -a -pbkdf2 -in img.png.enc -out img.png.new -p
}
openssl aes-256-cbc -md sha384 -in secret.txt -out img.png.enc -p
openssl aes-256-cbc -d -nopad -md sha384 -in img.png.enc -p
gpg --output encrypted.data --symmetric --cipher-algo AES256 un_encrypted.data
gpg --output un_encrypted.data --decrypt encrypted.data
*/

pub async fn encrypt_file(fpath: &str) -> (Vec<u8>, SecureCellConfig){

Expand Down Expand Up @@ -364,23 +373,6 @@ pub mod eddsa_with_keccak256_signing{

pub mod zkp{

/* e2e and file and msg encryption using aes256 bits in wallexerr: see ed25519_aes256_test() test method
tools: RSA ed25519 ECC curve with aes256 hash in wallexerr, openssl and ring for RSA + KDF like sha256 and keccak256
ransomewere, steganography and files encryption to generate unique assets by encrypting using
aes256 cbc with pbkdf2 + sha384 + salt then showing key and iv like:
openssl aes-256-cbc -a -salt -pbkdf2 -in img.png -out img.png.enc -p
openssl aes-256-cbc -d -a -pbkdf2 -in img.png.enc -out img.png.new -p
openssl aes-256-cbc -md sha384 -in secret.txt -out img.png.enc -p
openssl aes-256-cbc -d -nopad -md sha384 -in img.png.enc -p
gpg --output encrypted.data --symmetric --cipher-algo AES256 un_encrypted.data
gpg --output un_encrypted.data --decrypt encrypted.data
*/

pub use super::*;

pub struct ZkpError;
Expand All @@ -392,6 +384,14 @@ pub mod zkp{
Ok(())
}

pub async fn secure_session(){

// use to secure the communication between client and server
// using zero knowledge proof
// ...

}

fn get_zkp_comparator() -> themis::secure_comparator::SecureComparator{
wallexerr::misc::Wallet::generate_zkp_comparator()
}
Expand Down

0 comments on commit be44dd1

Please sign in to comment.