title: Go AES128 without IV
body: <p>I am trying to decypher some AES128 data that does not have the IV.  Go provides easy way to decypher with IV, but I cannot figure out how to go about not using the IV.  So here what I have so far:</p>
  
  <pre><code>block, err := aes.NewCipher(key)
  
  if err != nil {
      panic(err)
  }
  
  if len(data)%aes.BlockSize != 0 {
      panic("ciphertext is not a multiple of the block size")
  }
  
  fmt.Printf("Decyphered:\n%s\n", data)
  </code></pre>
  
  <p>So I am struggling to figure out how to decypher using the block.</p>
  
  <p>Thanks...</p>