Skip to content

RajWorking/PoDLE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate PoDLE

To speed up Join Market integration into Fully Noded, I am converting the python PoDLE commitment code into Swift.

Amazing explaination of the code's objective --
https://reyify.com/blog/poodle

Where this code will be used --
https://github.com/Fonta1n3/FullyNoded/pull/191

Reference implementation in Python --
https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/717d3145c517ca3475cc7a6fa65619f69f9a2f5c/jmclient/jmclient/podle.py#L87

Swift Crypto Library for SHA256 --
https://github.com/apple/swift-crypto

Square root extraction modulo a prime --
https://en.wikipedia.org/wiki/Quadratic_residue#Prime_or_prime_power_modulus

Data types used --
https://developer.apple.com/documentation/foundation/data
https://attaswift.github.io/BigInt/Structs/BigInt.html

Helpful Swift Guide --
https://www.codecademy.com/learn/learn-swift/modules/learn-swift-conditionals/cheatsheet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages