Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Hash of a customer without revealing personal information?

There's the channel store object that allows us some access to a customer's information, properly at the customer's consent - ... taasObject

Say we don't care, at all, about the customer other than it's an entity that could, in theory, have many rokus. Is there a way to get a unique identifier for that account?

This is purely for the sake of metrics.
0 Kudos
1 Reply
Roku Employee
Roku Employee

Re: Hash of a customer without revealing personal informatio


* We only allow the use of GetPartialUserData to get the email and the person's first and last name.
* Policy Change: We will, in most cases no longer allow this for free channels or channels that don't use our billing system. If your channel uses our billing system, you may use GetPartialUserData to request the first name, last name and email address of the user.

Here is an example SHA1 hashing function:

function HashID(ID as string ) as string
return digest.process(ba)
end function

0 Kudos