cheatfate / nimcrypto

Nim cryptographic library
MIT License
192 stars 23 forks source link

Capitalize all type names to conform NEP1. #10

Open cheatfate opened 5 years ago

cheatfate commented 5 years ago

Very soon lowercase type names will be deprecated, all type names will be capitalized.

mratsim commented 5 years ago

I'd like to make sure of casing.

Is it PascalCase or MACRO_CASE?

cheatfate commented 5 years ago
sha3_(bits) -> SHA3_(bits)
sha2_(bits) -> SHA2_(bits)
keccak(bits) -> KECCAK(bits)
shake(bits) -> SHAKE(bits)
ripemd(bits) -> RIPEMD(bits)
blake2_(bits) -> BLAKE2(bits)
rijndael(bits) -> RIJNDAEL(bits)
aes(bits) -> AES(bits)
twofish(bits) -> TWOFISH(bits)
blowfish(bits) -> BLOWFISH(bits)