Skip to content
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

UInt256 type for Swift #561

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

UInt256 type for Swift #561

wants to merge 1 commit into from

Conversation

csjones
Copy link
Contributor

@csjones csjones commented Jul 7, 2024

@csjones csjones added the 🔏 enhancement New feature or request label Jul 7, 2024
Copy link

what-the-diff bot commented Jul 7, 2024

PR Summary

  • New Addition to secp256k1 directory
    We've included a newly developed file called UInt256.swift. This addition focuses on the enhancement and effective management of cryptographic operations.

  • Updates to Asymmetric.swift
    A new initializer called init(_:format:) has been integrated to enable the creation of a secp256k1 private key from a raw representation. This provides another, arguably simplified, method for private key generation.

  • Testing Updates in secp256k1Tests.swift
    We've introduced a new test case testUInt256() to validate the functioning of the newly added UInt256 type and private key initialization. This measure provides us with assurance of the efficiency of the new features.
    Further, we've upgraded the test case testPublicKeyWithCompressedPrivateKey() to take into account the effectiveness of the combined public key. This offers additional evidence of the synergistic working of our system components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔏 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant