You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2014/05/29 07:15:04 UTC
[jira] [Commented] (HADOOP-10635) Add a method to CryptoCodec to
generate SRNs for IV
[ https://issues.apache.org/jira/browse/HADOOP-10635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012075#comment-14012075 ]
Alejandro Abdelnur commented on HADOOP-10635:
---------------------------------------------
Adding a method {{byte[] generateSecureRandom(int bytes)}} would do the trick, then the impl could get a SecureRandom instance from the same provider used to get the cipher.
> Add a method to CryptoCodec to generate SRNs for IV
> ---------------------------------------------------
>
> Key: HADOOP-10635
> URL: https://issues.apache.org/jira/browse/HADOOP-10635
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: security
> Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
> Reporter: Alejandro Abdelnur
> Assignee: Yi Liu
> Fix For: 3.0.0
>
>
> SRN generators are provided by crypto libraries. the CryptoCodec gives access to a crypto library, thus it makes sense to expose the SRN generator on the CryptoCodec API.
--
This message was sent by Atlassian JIRA
(v6.2#6252)