# Passing a byte array passphrase to SQLCipher via Java

**URL:** <https://discuss.zetetic.net/t/passing-a-byte-array-passphrase-to-sqlcipher-via-java/3712>\
**Category:** SQLCipher\
**Created:** [June 6, 2019, 2:51pm UTC](https://discuss.zetetic.net/t/passing-a-byte-array-passphrase-to-sqlcipher-via-java/3712 "2019-06-06T14:51:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [June 7, 2019, 6:54pm UTC](https://discuss.zetetic.net/t/passing-a-byte-array-passphrase-to-sqlcipher-via-java/3712/5 "2019-06-07T18:54:46Z")

</div>

Hello @petrakeas - I also wanted to mention that we just published some additional guidance on using random [values as SQLCipher keys](https://discuss.zetetic.net/t/technical-guidance-using-random-values-as-sqlcipher-keys/3715).

---

_[View the full topic](https://discuss.zetetic.net/t/passing-a-byte-array-passphrase-to-sqlcipher-via-java/3712)._
