[
https://issues.apache.org/jira/browse/HADOOP-10635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012634#comment-14012634
]
Alejandro Abdelnur commented on HADOOP-10635:
---------------------------------------------
How about making the SR algorithm configurable with SHA1PRNG as default?
Regarding the HadoopIllegalArgumentException, I'd say use JDK
IllegalArgumentException and pass the GSEx as cause.
Please add a simple testcase.
> 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
>
> Attachments: HADOOP-10635.patch
>
>
> 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)