title: variable binary is none - spread spectrum
body: <p>so i want to make encoding using spread spectrum with audio. i was try using <a href="https://github.com/Sanjaysnair0721/Spread-Spectrum-Steganography-using-Python/blob/master/spread_image_hide_full.py" rel="nofollow noreferrer">this web</a> to do it, the website try to encoding with image. the string was input must be convert to binary. but i change input string to use bytes (the result from encrypt using AES). i was using python and the result from print bi it's none, why is it none?</p>
  <p>here's the code i tried:</p>
  <pre><code>password = b'\xbb\xbaS`'
  def password(password):
      print(password)
      g = password
      le=len(g)
      i=0
      a=list()
      for i in range(le):
          a.append(0)  #initializing
      j=0
      for i in g:
          a[j]=i
          j+=1   
      print(a)  #ascii values
      bi= [ [ 0 for i in range(8) ] for j in range(le) ]
      j=0
      i=7
      while(j&lt;le):
          while(i&gt;-1):
              bi[j][i]=a[j]%2
              a[j]=(a[j]-bi[j][i])//2
              i-=1
          j+=1
          i=7
      print(bi)#binary
      i=0
      j=0
      while(j&lt;le):
          while(i&lt;8):
              if bi[j][i]==0:
                  bi[j][i]=-1
              i+=1
          j+=1   
          i=0
      i=0
      j=0
      print(bi)#this is where 0s are converted to -1s
  </code></pre>
  <p>and here's the terminal result:</p>
  <pre><code>[0]
  [0, 0]
  [0, 0, 0]
  [0, 0, 0, 0]
  [187, 186, 83, 96]
  [[1, 0, 1, 1, 1, 0, 1, 1], [1, 0, 1, 1, 1, 0, 1, 0], [0, 1, 0, 1, 0, 0, 1, 1], [0, 1, 1, 0, 0, 0, 0, 0]]
  [[1, -1, 1, 1, 1, -1, 1, 1], [1, -1, 1, 1, 1, -1, 1, -1], [-1, 1, -1, 1, -1, -1, 1, 1], [-1, 1, 1, -1, -1, -1, -1, -1]]
  None
  </code></pre>