common: add apply_permutation file and function

This algorithm is adapted from Raymond Chen's code:
https://blogs.msdn.microsoft.com/oldnewthing/20170109-00/?p=95145
This commit is contained in:
moneromooo-monero
2017-09-13 09:22:16 +01:00
parent 02e5dcd2fa
commit 0c36b9f931
4 changed files with 108 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set(unit_tests_sources
apply_permutation.cpp
address_from_url.cpp
ban.cpp
base58.cpp