Skip to content

Kotlin Multiplatform library for obtaining cryptographically secure random data

License

Notifications You must be signed in to change notification settings

05nelsonm/secure-random

Repository files navigation

secure-random

This project has been moved to the KotlinCrypto organization and can be found HERE. No further updates to this project will be made, and it should not be used.

Migration

If you are already utilizing this project, you can follow the steps below to migrate to KotlinCrypto/secure-random

  1. Add the replacement dependency + update this project's dependency to the latest release (to bring in the Deprecation notice).

    dependencies {
        implementation("org.kotlincrypto:secure-random:0.1.0")
    
        // TODO: Remove after replacing imports in source code
        implementation("io.matthewnelson.kotlin-components:secure-random:0.1.3")
    }
  2. Use the ReplaceWith deprecation feature to replace imports for SecureRandom and SecRandomCopyException

    image

  3. Remove dependency io.matthewnelson.kotlin-components:secure-random from your project.