-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[refactor] #4339: refactor iroha_crypto
, update API
#4341
[refactor] #4339: refactor iroha_crypto
, update API
#4341
Commits on Mar 13, 2024
-
[refactor] hyperledger-iroha#4339: refactor
iroha_crypto
, update APISigned-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 599102a - Browse repository at this point
Copy the full SHA 599102aView commit details -
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2d74a74 - Browse repository at this point
Copy the full SHA 2d74a74View commit details -
[refactor]: use
from_bytes
/to_bytes
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b990384 - Browse repository at this point
Copy the full SHA b990384View commit details -
[refactor]: use
try_from
andinto
serde container attrsSigned-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c3f8ff4 - Browse repository at this point
Copy the full SHA c3f8ff4View commit details -
[refactor]: serialize keys' payloads in uppercase hex
There is also `iroha_swarm`, which still uses lowercase Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 25d64f3 - Browse repository at this point
Copy the full SHA 25d64f3View commit details -
[fix]: also use uppercase for
Signature
'spayload
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1708b01 - Browse repository at this point
Copy the full SHA 1708b01View commit details -
[refactor]: stronger types in
KeyGenOption
, renames and fixesSigned-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 14de07b - Browse repository at this point
Copy the full SHA 14de07bView commit details -
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 03fb5a8 - Browse repository at this point
Copy the full SHA 03fb5a8View commit details -
[refactor]: snip
KeyGenConfig
entirely- Rename `KeyPair::generate` to `KeyPair::random` - Add `KeyPair::random_with_algorithm` - Add `KeyPair::from_seed` - Add `impl From<PrivateKey> for KeyPair` Also: - Rename `KeyPair::new` to `KeyPair::from_raw_parts` for consistency Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e466a6a - Browse repository at this point
Copy the full SHA e466a6aView commit details -
[refactor]: restruct
KeyPair
methods- revert `from_raw_parts` to `new` - rename `into_raw_parts` to `into_parts` - remove `impl From<KeyPair> to (K, K)` Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0d7c78a - Browse repository at this point
Copy the full SHA 0d7c78aView commit details