Use long instaed of int array in sha512
This commit is contained in:
		
							parent
							
								
									7f703aa6b9
								
							
						
					
					
						commit
						354c0c2fd6
					
				@ -25,7 +25,7 @@ object Versions {
 | 
			
		||||
    val taskTreePlugin = "1.5"
 | 
			
		||||
    val kotlinBigNumVersion = "0.2.8-SNAPSHOT"
 | 
			
		||||
    val lazySodium = "4.3.1-SNAPSHOT"
 | 
			
		||||
    val jna = "5.5.0"
 | 
			
		||||
    val jna = "5.7.0"
 | 
			
		||||
    val kotlinPoet = "1.6.0"
 | 
			
		||||
    val libsodiumBindings = "0.1.1-SNAPSHOT"
 | 
			
		||||
    val ktor = "1.3.2"
 | 
			
		||||
@ -36,6 +36,7 @@ object Versions {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
object ReleaseInfo {
 | 
			
		||||
@ -143,6 +144,7 @@ object Deps {
 | 
			
		||||
        val ktorClientSerialization = "io.ktor:ktor-client-serialization-jvm:${Versions.ktor}"
 | 
			
		||||
        val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime:${Versions.kotlinSerialization}"
 | 
			
		||||
        val timber = "com.jakewharton.timber:timber:${Versions.timber}"
 | 
			
		||||
        val jna = "net.java.dev.jna:jna:${Versions.jna}@aar"
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    object Desktop {
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -26,7 +26,7 @@ class Hash512State : Structure() {
 | 
			
		||||
    override fun getFieldOrder(): List<String> = listOf("state", "count", "buf")
 | 
			
		||||
 | 
			
		||||
    @JvmField
 | 
			
		||||
    val state = IntArray(8)
 | 
			
		||||
    val state = LongArray(8)
 | 
			
		||||
 | 
			
		||||
    @JvmField
 | 
			
		||||
    var count: LongArray = LongArray(2)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user