def METHOD_NAME(self, hashlib, serial):
    """
    // Seed for HMAC-SHA1 - 20 bytes
    String seed = "3132333435363738393031323334353637383930";
    // Seed for HMAC-SHA256 - 32 bytes
    String seed32 = "3132333435363738393031323334353637383930" +
    "313233343536373839303132";
    // Seed for HMAC-SHA512 - 64 bytes
    String seed64 = "3132333435363738393031323334353637383930" +
    "3132333435363738393031323334353637383930" +
    "3132333435363738393031323334353637383930" +
    "31323334";
    """
    if hashlib == "SHA512":
        otpkey = (
            "31323334353637383930313233343536373839303132333435363"
            "73839303132333435363738393031323334353637383930313233"
            "3435363738393031323334"
        )
    elif hashlib == "SHA256":
        otpkey = (
            "3132333435363738393031323334353637383930313233343536"
            "373839303132"
        )
    else:
        otpkey = "3132333435363738393031323334353637383930"
    parameters = {
        "serial": serial,
        "type": "HMAC",
        # 64 byte key
        "otpkey": otpkey,
        "otppin": "1234",
        "pin": "pin",
        "otplen": 6,
        "description": "time based HMAC TestToken1",
        "hashlib": hashlib,
    }
    response = self.make_admin_request("init", params=parameters)
    assert '"value": true' in response, response