Skip to content

Commit 3eb77fe

Browse files
committed
fixed name files and folders based on contribution guidelines
1 parent 3484eb0 commit 3eb77fe

File tree

107 files changed

+175
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+175
-175
lines changed

.github/workflows/golang_lint_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
# specified without patch version: we always use the latest patch version.
1717
# https://github.com/golangci/golangci-lint/releases
1818
version: v1.39
19-
- run: go test $(go list ./... | grep -v /sbom | grep -v /rsa)
19+
- run: go test $(go list ./... | grep -v /sbom | grep -v /rsa_cipher)

DIRECTORY.md

Lines changed: 128 additions & 128 deletions
File renamed without changes.

ciphers/diffiehelkeyexchange/diffieHellmanKeyExchange.go renamed to ciphers/diffie_hellman_key_exchange/diffie_hellman_key_exchange.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Package diffiehelkeyexchange implements Deffie Hellman Key Exchange Algorithm
1+
// Package diffie_hellman_key_exchange implements Deffie Hellman Key Exchange Algorithm
22
// for more information watch : https://www.youtube.com/watch?v=NmM9HA2MQGI
3-
package diffiehelkeyexchange
3+
package diffie_hellman_key_exchange
44

55
const (
66
generator = 3

ciphers/diffiehelkeyexchange/diffieHellmanKeyExchange_test.go renamed to ciphers/diffie_hellman_key_exchange/diffie_hellman_key_exchange_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package diffiehelkeyexchange
1+
package diffie_hellman_key_exchange
22

33
import (
44
"crypto/rand"
@@ -20,7 +20,7 @@ func TestDiffieHellmanKeyExchange(t *testing.T) {
2020
})
2121

2222
t.Run("Test 2: Key Exchange", func(t *testing.T) {
23-
// generating a small sized rsa key for testing
23+
// generating a small sized rsa_cipher key for testing
2424
alicePrvKey, _ := rsa.GenerateKey(rand.Reader, 31)
2525
bobPrvKey, _ := rsa.GenerateKey(rand.Reader, 31)
2626

ciphers/rsaBig/rsaBig

-2.4 MB
Binary file not shown.
File renamed without changes.

ciphers/rsa/rsa_cipher_test.go renamed to ciphers/rsa_cipher/rsa_cipher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var rsaTestData = []struct {
2424
"the quick brown fox jumps over the lazy dog.",
2525
},
2626
{
27-
"Encrypt full sentence from RSAcipher.go main function",
27+
"Encrypt full sentence from rsa_cipher.go main function",
2828
"I think RSA is really great",
2929
},
3030
}

ciphers/rsaBig/rsa_cipher_big_test.go renamed to ciphers/rsa_cipher_big/rsa_cipher_big_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var rsaTestData = []struct {
2323
"the quick brown fox jumps over the lazy dog.",
2424
},
2525
{
26-
"Encrypt full sentence from RSAcipher(Big).go main function",
26+
"Encrypt full sentence from rsa_cipher_big.go main function",
2727
"Black Lives Matter, all lives can't matter until Black lives matter",
2828
},
2929
}

0 commit comments

Comments
 (0)