   "Puts a signature of the given message using given secret key into the given
   out buffer."
   [out sk m]
-  (.crypto_sign_detached sodium out nil m (buflen m) sk)
+  (.crypto_sign_detached b/sodium out nil m (buflen m) sk)
   out)
 
 (defn sign

  ([pk sm]
   (let [smlen (buflen sm)
         m (byte-array (- smlen bytes))
         res (.crypto_sign_open sodium m nil sm smlen pk)]
     (if (zero? res)
       m
       (throw (RuntimeException. "Signature validation failed")))))
  ([pk msg sig]
   (let [mlen (buflen msg)
         res (.crypto_sign_verify_detached sodium sig msg mlen pk)]
     (when-not (zero? res)
       (throw (RuntimeException. "Signature validation failed"))))))

  "Puts a signed version of the given message using given secret key into the
  given out buffer."
  [out sk m]
  (.crypto_sign b/sodium out nil m (buflen m) sk)
  out)

(defn signed
