AWS S3 SSE-C - how to generate keys?

i am having a nightmare trying to create values for
--s3-sse-customer-key
and
--s3-sse-customer-key-md5

i found python code that many claim should work.
but when i use the it, i get the following error in rclone log.

2020/11/11 18:33:04 DEBUG : rclone: Version "v1.53.2" starting with parameters ["c:\\data\\rclone\\scripts\\rclone.exe" "copy" "c:\\ex\\wg" "wasabi01:sssasdffdsa" "--s3-sse-customer-algorithm=AES256" "--s3-sse-customer-key=bbb6434b1d1e3eb63fabd2491625f5fd" "--s3-sse-customer-key-md5=b1b2ecbc13576b716ad92526590539cb" "--log-file=log.sse.txt" "--log-level=DEBUG"]
2020/11/11 18:33:04 ERROR : wg.md5: Failed to copy: s3 upload: 400 Bad Request: <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>InvalidArgument</Code><Message>The calculated MD5 hash of the key did not match the hash that was provided.</Message><ArgumentName>x-amz-server-side-encryption</ArgumentName><ArgumentValue>null</ArgumentValue><RequestId>FCE77A20651195DB</RequestId><HostId>eRUKTQhhoctH0Zi5KzWeIN5dmUI1X/WeGywqxxON2PCb8PxDXP0Y+spP8gzdug7Z6UByEaxrIEco</HostId></Error>

anybody have python code, go code or a website that can generate the correct values
thanks