Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10150 Hadoop cryptographic file system
  3. HADOOP-10713

Refactor CryptoCodec#generateSecureRandom to take a byte[]

    XMLWordPrintableJSON

Details

    Description

      Following suit with the Java Random implementations, it'd be better if we switched CryptoCodec#generateSecureRandom to take a byte[] for parity.

      Also, let's document that this method needs to be thread-safe, which is an important consideration for CryptoCodec implementations.

      Attachments

        1. HADOOP-10713.001.patch
          1 kB
          Andrew Wang
        2. HADOOP-10713.002.patch
          3 kB
          Andrew Wang

        Activity

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: