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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2013/12/09 18:18:08 UTC
[jira] [Commented] (HADOOP-10151) Implement a Buffer-Based Chiper
InputStream and OutPutStream
[ https://issues.apache.org/jira/browse/HADOOP-10151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843332#comment-13843332 ]
Owen O'Malley commented on HADOOP-10151:
----------------------------------------
After looking more at the Cipher API, it does in fact have ByteBuffer methods, but the methods on Cipher are final and it delegates to an underlying implementation object. Having a direct implementation will be much more efficient.
> Implement a Buffer-Based Chiper InputStream and OutPutStream
> ------------------------------------------------------------
>
> Key: HADOOP-10151
> URL: https://issues.apache.org/jira/browse/HADOOP-10151
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: security
> Affects Versions: 3.0.0
> Reporter: Yi Liu
> Assignee: Yi Liu
> Labels: rhino
> Fix For: 3.0.0
>
>
> Cipher InputStream and OuputStream are buffer-based, and the buffer is used to cache the encrypted data or result. Cipher InputStream is used to read encrypted data, and the result is plain text . Cipher OutputStream is used to write plain data and result is encrypted data.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)