Switch to latest BigInteger, use new byte conversion api
This commit is contained in:
1 parent
0af9ed4337
commit
8b3b94df3a
5 files changed
+45
-14
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
package com.ionspin.kotlin.crypto.util
|
||||
|
||||
/**
|
||||
* Created by Ugljesa Jovanovic
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 26-Jul-2020
|
||||
*/
|
||||
fun UByteArray.fromLittleEndianUByteArrayToBigEndianUByteArray() : UByteArray {
|
||||
return this.reversedArray()
|
||||
}
|
||||
Reference in new issue
Block a user