hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10713) Refactor CryptoCodec#generateSecureRandom to take a byte[]
Date Sun, 22 Jun 2014 07:21:25 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040052#comment-14040052
] 

Yi Liu commented on HADOOP-10713:
---------------------------------

Committed to branch.

> Refactor CryptoCodec#generateSecureRandom to take a byte[]
> ----------------------------------------------------------
>
>                 Key: HADOOP-10713
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10713
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Trivial
>             Fix For: fs-encryption (HADOOP-10150 and HDFS-6134)
>
>         Attachments: HADOOP-10713.001.patch, HADOOP-10713.002.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message