Skip to content

Commit

Permalink
versão pt-br
Browse files Browse the repository at this point in the history
  • Loading branch information
alextnetto committed Apr 6, 2022
1 parent d1d5d8a commit 41770db
Show file tree
Hide file tree
Showing 11 changed files with 15,599 additions and 246 deletions.
39 changes: 18 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,49 @@ A tool to play and learn basic concept of cryptography. Checkout the playgroung
- [Benchmarking Framework ZKP frameworks](https://docs.zkproof.org/pages/standards/accepted-workshop3/proposal-benchmarking.pdf) - Paper
- [Other Zkp](https://medium.com/@aurelcode/cryptographic-accumulators-da3aa4561d77)

##
##

```bash
npm install -g @vue/cli
git clone
cd
npm i
git clone
cd
npm i
npm run serve
```

## Features

- [Basic concept of cryptography](docs/README.md)
- Hashing
- Symmetric Key Cryptography
- Asymmetric Key Cryptography
- Digital Signature
- Hashing
- Criptografia simétrica
- Criptografia assimétrica
- Digital Signature

## Libraries

- Hashing
- [Blakejs](https://www.npmjs.com/package/blakejs)
- [SHA js](https://www.npmjs.com/package/sha.js)
- Symmetric Key Cryptography
- [Aes-js](https://www.npmjs.com/package/aes-js) with CTR mode
- Asymmetric Key Cryptography
- [TweetNacl](https://www.npmjs.com/package/tweetnacl)
- [Ed2Curve](https://www.npmjs.com/package/ed2curve)
- [Blakejs](https://www.npmjs.com/package/blakejs)
- [SHA js](https://www.npmjs.com/package/sha.js)
- Criptografia simétrica
- [Aes-js](https://www.npmjs.com/package/aes-js) with CTR mode
- Criptografia assimétrica
- [TweetNacl](https://www.npmjs.com/package/tweetnacl)
- [Ed2Curve](https://www.npmjs.com/package/ed2curve)

## Screens

### Hashing

![hash](public/images/hash-tab.png)

### Symmetric Key Cryptography
### Criptografia simétrica

![symme](public/images/symm-key-encryption.png)


### Asymmetric Key Cryptography
### Criptografia assimétrica

#### Generating Key Pair

![symme](public/images/Asymmetric-kp.png)

#### Encryption
Expand All @@ -72,5 +71,3 @@ npm run serve
**Verifying Message**

![symme](public/images/verify.png)


34 changes: 13 additions & 21 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
> Science of hiding thing (or text) in such a way that only intended person can see it
- Why you want to hide?
- So that the hidden text can be stored at insecure place
- So that the hidden text can be transmitted via insecure network/channel
- So that only authorized person can view it
- So that the hidden text can be stored at insecure place
- So that the hidden text can be transmitted via insecure network/channel
- So that only authorized person can view it
- The text which is to be hide, called PlainText
- The hidden text is called CipherText

Expand All @@ -37,7 +37,6 @@

![img](../public/images/hash-prop.png)


## Encryption & Decryption

## Encryption
Expand All @@ -50,46 +49,39 @@
- Process in which encrypted data (or meaningless data) is convert back to original text.
- Or, the process of revealing original text.


## Symmetric Key Cryptography
## Criptografia simétrica

- Encrypt and Decrypt data with the same key, secret key

![img](../public/images/Screenshot-asymmetric.png)

## Asymmetric Key Cryptography
## Criptografia assimétrica

- Encrypt and Decrypt data using two different keys
- Public Key: Used for encryption
- Private Key: Used for decryption
- Public Key: Used for encryption
- Private Key: Used for decryption

![img](../public/images/Screenshot-symmetric.png)

## Digital Signature

- A digital signature is equivalent to handwritten signature.
- Its a method to guarantees the integrity and authenticity of message which is sent
- Its a method to guarantees the integrity and authenticity of message which is sent
- Serves three purposes
- Authentication: Provides receiver a reason to believe that message came from claimed sender.
- Integrity: The message was not corrupted/altered in transit.
- Non-repudiation: Once sent, the sender can not say that he did not send this message.
- Authentication: Provides receiver a reason to believe that message came from claimed sender.
- Integrity: The message was not corrupted/altered in transit.
- Non-repudiation: Once sent, the sender can not say that he did not send this message.
- DS method uses public key cryptography
- How it works
- Sender can Signs the message using private key
- Receiver Verifies the message using sender’s public key
- Sender can Signs the message using private key
- Receiver Verifies the message using sender’s public key

![img](../public/images/ds.png)


## Refrences and thing to read

- https://www.youtube.com/watch?v=8NgVGnX4KOw
- https://www.youtube.com/watch?v=bBC-nXj3Ng4
- https://blog.coincodecap.com/different-types-of-crypto-wallets/
- https://cryptobook.nakov.com/cryptographic-hash-functions
- crypto-it.net/eng/theory/modes-of-block-ciphers.html





Loading

0 comments on commit 41770db

Please sign in to comment.