# encryption

**URL:** <https://forum.hdfgroup.org/t/encryption/2452>\
**Category:** Hdf-forum archives\
**Created:** [February 2, 2012, 8:15pm UTC](https://forum.hdfgroup.org/t/encryption/2452 "2012-02-02T20:15:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominik\_Szczerba1](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/ba8739/32.png) [@Dominik\_Szczerba1](https://forum.hdfgroup.org/u/Dominik_Szczerba1)\
**Post date:** [February 2, 2012, 8:15pm UTC](https://forum.hdfgroup.org/t/encryption/2452/1 "2012-02-02T20:15:22Z")

</div>

I need to (optionally) encrypt my data. I have seen lots of related  
threads but none with a clear conclusion. I am wondering if HDF5  
offers any straight forward solutions here.  
Thanks.

> **···**
>
> --  
> Dominik

---

<div class="post-metadata">

**Author:** ![Dimitris\_Servis](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/839c29/32.png) [@Dimitris\_Servis](https://forum.hdfgroup.org/u/Dimitris_Servis)\
**Post date:** [February 2, 2012, 10:00pm UTC](https://forum.hdfgroup.org/t/encryption/2452/2 "2012-02-02T22:00:26Z")

</div>

Hi Dominik

The only viable solution at the moment is to write a vfl driver to  
encrypt the metadata. At least as far as I know. It is not of course  
supported by HDF.

Cheers

Dimitris

> **···**
>
> 2012/2/2, Dominik Szczerba \<dominik@itis.ethz.ch\>:
> 
> > I need to (optionally) encrypt my data. I have seen lots of related  
> > threads but none with a clear conclusion. I am wondering if HDF5  
> > offers any straight forward solutions here.  
> > Thanks.
> > 
> > --  
> > Dominik
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)

---

<div class="post-metadata">

**Author:** ![Dominik\_Szczerba1](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/ba8739/32.png) [@Dominik\_Szczerba1](https://forum.hdfgroup.org/u/Dominik_Szczerba1)\
**Post date:** [February 3, 2012, 8:45pm UTC](https://forum.hdfgroup.org/t/encryption/2452/3 "2012-02-03T20:45:49Z")

</div>

Hi,

I am not concerned about metadata, I am concerned entirely with the  
"heavy" data, so the array contents.

Thanks for any hints,  
Dominik

> **···**
>
> On Thu, Feb 2, 2012 at 11:00 PM, Dimitris Servis \<servisster@gmail.com\> wrote:
> 
> > Hi Dominik
> > 
> > The only viable solution at the moment is to write a vfl driver to  
> > encrypt the metadata. At least as far as I know. It is not of course  
> > supported by HDF.
> > 
> > Cheers
> > 
> > Dimitris
> > 
> > 2012/2/2, Dominik Szczerba \<dominik@itis.ethz.ch\>:
> > 
> > > I need to (optionally) encrypt my data. I have seen lots of related  
> > > threads but none with a clear conclusion. I am wondering if HDF5  
> > > offers any straight forward solutions here.  
> > > Thanks.
> > > 
> > > --  
> > > Dominik
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> 
> --  
> Dominik

---

<div class="post-metadata">

**Author:** ![werner](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/w/f4b2a3/32.png) [@werner](https://forum.hdfgroup.org/u/werner)\
**Post date:** [February 3, 2012, 9:19pm UTC](https://forum.hdfgroup.org/t/encryption/2452/4 "2012-02-03T21:19:29Z")

</div>

Hi,

&nbsp;&nbsp;as far as I know there is no pre-existing encryption filter yet, but it should  
not be too hard to register an encryption method as a data filter. This may well  
require 3rd party libraries beyond HDF5 to do the actual encryption, thus be  
application/domain-specific.

[http://www.hdfgroup.org/HDF5/doc/RM/RM\_H5Z.html#Compression-Register](http://www.hdfgroup.org/HDF5/doc/RM/RM_H5Z.html#Compression-Register)

&nbsp;&nbsp;Werner

> **···**
>
> On Fri, 03 Feb 2012 21:45:49 +0100, Dominik Szczerba \<dominik@itis.ethz.ch\> wrote:
> 
> > Hi,
> > 
> > I am not concerned about metadata, I am concerned entirely with the  
> > "heavy" data, so the array contents.
> > 
> > Thanks for any hints,  
> > Dominik
> > 
> > On Thu, Feb 2, 2012 at 11:00 PM, Dimitris Servis \<servisster@gmail.com\> \> wrote:
> > 
> > > Hi Dominik
> > > 
> > > The only viable solution at the moment is to write a vfl driver to  
> > > encrypt the metadata. At least as far as I know. It is not of course  
> > > supported by HDF.
> > > 
> > > Cheers
> > > 
> > > Dimitris
> > > 
> > > 2012/2/2, Dominik Szczerba \<dominik@itis.ethz.ch\>:
> > > 
> > > > I need to (optionally) encrypt my data. I have seen lots of related  
> > > > threads but none with a clear conclusion. I am wondering if HDF5  
> > > > offers any straight forward solutions here.  
> > > > Thanks.
> > > > 
> > > > --  
> > > > Dominik
> > > > 
> > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > Hdf-forum is for HDF software users discussion.  
> > > > Hdf-forum@hdfgroup.org  
> > > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> 
> --  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Dr. Werner Benger Visualization Research  
> Laboratory for Creative Arts and Technology (LCAT)  
> Center for Computation & Technology at Louisiana State University (CCT/LSU)  
> 211 Johnston Hall, Baton Rouge, Louisiana 70803  
> Tel.: +1 225 578 4809 Fax.: +1 225 578-5362

---

<div class="post-metadata">

**Author:** ![Dimitris\_Servis](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/d/839c29/32.png) [@Dimitris\_Servis](https://forum.hdfgroup.org/u/Dimitris_Servis)\
**Post date:** [February 3, 2012, 9:22pm UTC](https://forum.hdfgroup.org/t/encryption/2452/5 "2012-02-03T21:22:41Z")

</div>

Hi Dominik

if you encrypt the metadata there is no easy way toaccess the data.  
You have to consider first how much security you can afford.

Cheers

Dimitris

> **···**
>
> 2012/2/3, Dominik Szczerba \<dominik@itis.ethz.ch\>:
> 
> > Hi,
> > 
> > I am not concerned about metadata, I am concerned entirely with the  
> > "heavy" data, so the array contents.
> > 
> > Thanks for any hints,  
> > Dominik
> > 
> > On Thu, Feb 2, 2012 at 11:00 PM, Dimitris Servis \<servisster@gmail.com\> \> wrote:
> > 
> > > Hi Dominik
> > > 
> > > The only viable solution at the moment is to write a vfl driver to  
> > > encrypt the metadata. At least as far as I know. It is not of course  
> > > supported by HDF.
> > > 
> > > Cheers
> > > 
> > > Dimitris
> > > 
> > > 2012/2/2, Dominik Szczerba \<dominik@itis.ethz.ch\>:
> > > 
> > > > I need to (optionally) encrypt my data. I have seen lots of related  
> > > > threads but none with a clear conclusion. I am wondering if HDF5  
> > > > offers any straight forward solutions here.  
> > > > Thanks.
> > > > 
> > > > --  
> > > > Dominik
> > > > 
> > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > Hdf-forum is for HDF software users discussion.  
> > > > Hdf-forum@hdfgroup.org  
> > > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > 
> > --  
> > Dominik
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
