Uploaded image for project: 'Commons Crypto'
  1. Commons Crypto
  2. CRYPTO-83

Utils.getRandomDevPath should be private method in OsCryptoRandom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The method Utils.getRandomDevPath is only used from OsCryptoRandom and should probably be moved there.

      Likewise the default value constant

      COMMONS_CRYPTO_SECURE_RANDOM_DEVICE_FILE_PATH_DEFAULT

      does not really make much sense except to the OsCryptoRandom class.

      Note: property key names do need to be centrally defined to avoid duplication.

      Attachments

        Activity

          People

            dapengsun Dapeng Sun
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: