[ 
https://issues.apache.org/jira/browse/HBASE-10063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10063:
-----------------------------------

    Description: In SecureWALCellCodec#EncryptedKvEncoder#write we get the IV 
for the entry from the secure RNG. This can be a heavyweight operation if not 
using an accelerated RNG. Consider something lighter weight. One option could 
be to create a random IV only once, store it in the header, and then increment 
it per cell.   (was: In SecureWALCellCodec#EncryptedKvEncoder#write we get the 
IV for the entry from the secure RNG. This can be a heavyweight operation if 
not using an accelerated RNG. Consider something lighter weight. One option 
could be to create a random IV only once, store it in the header, and then 
increment it per cell. Correct decryption will depend on being able to 
correctly count entries even if skipping or rewinding.)

> Consider lighter weight generation of IVs for WAL entries
> ---------------------------------------------------------
>
>                 Key: HBASE-10063
>                 URL: https://issues.apache.org/jira/browse/HBASE-10063
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.98.1
>
>
> In SecureWALCellCodec#EncryptedKvEncoder#write we get the IV for the entry 
> from the secure RNG. This can be a heavyweight operation if not using an 
> accelerated RNG. Consider something lighter weight. One option could be to 
> create a random IV only once, store it in the header, and then increment it 
> per cell. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to