fix `expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. Consider using the '-Xexpect-actual-classes' flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ private fun base64UrlFromArrayBuffer(buf: ArrayBuffer): String {
|
||||
}
|
||||
|
||||
private fun randomUrlSafe(length: Int): String {
|
||||
val bytes = Random.Default.nextBytes(length)
|
||||
val bytes = Random.nextBytes(length)
|
||||
// Use base64url for entropy; ensure URL-safe by replacing padding removed already
|
||||
return base64UrlFromBytes(bytes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user