# Axinom for DRM Key

**URL:** <https://community.bitmovin.com/t/axinom-for-drm-key/1456>\
**Category:** Discussion\
**Tags:** bitmovin\
**Created:** [November 1, 2022, 9:08am UTC](https://community.bitmovin.com/t/axinom-for-drm-key/1456 "2022-11-01T09:08:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammad](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@muhammad](https://community.bitmovin.com/u/muhammad)\
**Post date:** [November 1, 2022, 9:08am UTC](https://community.bitmovin.com/t/axinom-for-drm-key/1456/1 "2022-11-01T09:08:28Z")

</div>

has anyone ever used axinom for DRM key and the others? if yes, i wanted to ask

how to get my content ID and how to convert DRM\_FAIRPLAY\_IV, DRM\_WIDEVINE\_KID to hexadecimal format?

---

<div class="post-metadata">

**Author:** ![peder.borg](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/peder.borg/32/357_2.png) [@peder.borg](https://community.bitmovin.com/u/peder.borg)\
**Post date:** [November 4, 2022, 8:30am UTC](https://community.bitmovin.com/t/axinom-for-drm-key/1456/2 "2022-11-04T08:30:50Z")

</div>

Hi @muhammad

The Content ID should be returned from Axinom when you ingest a new key.

As for converting BASE64 responses I typically use e.g. [Base64 to Hex | Base64 Decode | Base64 Converter | Base64](https://base64.guru/converter/decode/hex)

If you want to use eg. Python, you can use something like:

```auto
-> % python3
Python 3.10.8 (main, Oct 21 2022, 22:22:30) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>> base64.b64decode('cHl0aG9uLXRlc3Q=').hex()
'707974686f6e2d74657374'

```

I hope this helps.

BR  
Peder
