title: Redux-Persist Secure Encryption
body: <p>i am trying to learn how to securely save my redux state in my react-native app.</p>
  
  <p>i am using redux-persist-transform-encrypt as per the documentation: <a href="https://github.com/maxdeviant/redux-persist-transform-encrypt" rel="nofollow noreferrer">https://github.com/maxdeviant/redux-persist-transform-encrypt</a></p>
  
  <pre><code>import { persistReducer } from 'redux-persist'
  import createEncryptor from 'redux-persist-transform-encrypt'
  
  const encryptor = createEncryptor({
    secretKey: 'my-super-secret-key'
  })
  
  const reducer = persistReducer(
    {
      transforms: [encryptor]
    },
    baseReducer
  )
  </code></pre>
  
  <p>but i dont not how to securely set the <code>secretKey</code> string <code>'my-super-secret-key'</code>?</p>
  
  <p>when the js is compiled, wouldn't the value of the string be visible in the bundle?</p>