Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D471C10DC3 for ; Tue, 10 Dec 2013 15:38:11 +0000 (UTC) Received: (qmail 77906 invoked by uid 500); 10 Dec 2013 15:38:10 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 77840 invoked by uid 500); 10 Dec 2013 15:38:10 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 77705 invoked by uid 99); 10 Dec 2013 15:38:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 15:38:08 +0000 Date: Tue, 10 Dec 2013 15:38:08 +0000 (UTC) From: "Yi Liu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10151) Implement a Buffer-Based Chiper InputStream and OutputStream MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-10151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13844350#comment-13844350 ] Yi Liu commented on HADOOP-10151: --------------------------------- This patch includes cipher InputStream and OutputStream interfaces, and buffer-based implementation DecryptorStream/EncryptorStream, they use Encryptor and Decryptor interfaces to do encryption/decryption. > 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 > > Attachments: HADOOP-10151.patch > > > 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)